package com.mo.config.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = AdvertProperties.ADVERT_PREFIX)
public class AdvertProperties {
	public static final String ADVERT_PREFIX = "advert";
	
	private String advertPrefixUrl;

	public String getAdvertPrefixUrl() {
		return advertPrefixUrl;
	}

	public void setAdvertPrefixUrl(String advertPrefixUrl) {
		this.advertPrefixUrl = advertPrefixUrl;
	}

	public static String getAdvertPrefix() {
		return ADVERT_PREFIX;
	}

	
	
	
}
